<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="../include/tag.jsp" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <title>赛事日程管理</title>
    <link rel="stylesheet" href="${ctx}/css/common/list.css">
    <link rel="stylesheet" href="${ctx}/css/common/table.css">
    <%@include file="../include/commonFile.jsp" %>
    <style type="text/css">
        .index-outside > section .section-main {
            min-width: 0px !important;
            padding: 15px;
        }

        .index-outside > section {
            padding-bottom: 0px !important;
        }

        th {
            text-align: center!important;
        }
    </style>
</head>
<body>
<!--头部-->
<div class="index-outside">
    <!--内容-->
    <section class="no-fix">
        <div class="section-main">
            <form class="layui-form" action="${ctx}/competition/schedule/list.do?projectId=${project.id}" id="myForm" method="post">
                <input type="hidden" name="pageNo" id="pageNo"/>
            </form>
            <div class="my-act-list-content">
                <div class="cl">
                    <table class="layui-table">
                        <colgroup>
                            <col>
                            <col>
                            <col>
                        </colgroup>
                        <thead>
                        <tr>
                            <th>赛事阶段</th>
                            <th>赛事地点</th>
                            <th>里程（km）</th>
                        </tr>
                        </thead>
                        <tbody>
                        <c:forEach var="schedule" items="${scheduleList}">
                            <tr class="detail-content1">
                                <td align="center">
                                    <div><fmt:formatDate value="${schedule.playDay}" pattern="yyyy-MM-dd"/></div>
                                </td>
                                <td align="center">
                                    <div>${schedule.place}</div>
                                </td>
                                <td align="center">
                                    <div>${schedule.distance}km</div>
                                </td>
                            </tr>
                        </c:forEach>
                        </tbody>
                    </table>
                    <c:if test="${page.totalCount == 0}">
                        <div class="f16 tc mt15">还没有赛事日程</div>
                    </c:if>
                </div>
            </div>
        </div>
    </section>
</div>
<%@include file="../include/incScript.jsp" %>
<script type="text/javascript" src="${ctx}/script/common/list.js"></script>
</body>
</html>